package com.ruoyi.riskrule.service.impl;

import com.ruoyi.bizsys.domain.CustomerInfo;
import com.ruoyi.riskrule.mapper.RiskCustomerMapper;
import com.ruoyi.riskrule.service.IRiskCustomerService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * @Author: Jamnsin
 * @Date: 2021/3/1 10:43 上午
 */
@Service
@AllArgsConstructor
public class RiskCustomerImpl implements IRiskCustomerService {

	private RiskCustomerMapper riskCustomerMapper;


	@Override
	public int updateExpiryDate(CustomerInfo customerInfo) {
		return riskCustomerMapper.updateExpiryDate(customerInfo);
	}

	@Override
	public String getExpiryDateByUserId(String userId) {
		return riskCustomerMapper.getExpiryDateByUserId(userId);
	}
}
